import request from './request'

// 获取poi列表 GET /users
export const getPoiListApi = () => {
  return request({
    url: '/users',
    method: 'get',
  })
}

// 创建poi
export const createPoiApi = (data) => {
  return request({
    url: '/users',
    method: 'post',
    data: data,
  })
}
